<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <div id="app">
    {{ "你好世界" }}
    {{ 1+2*3/5*100 }}
    {{ msg }}

    {{ parseInt('1.235') }}
    {{ isFool? '你是个傻子': '你不傻' }}

    <!-- {{ alert(1) }} -->
  </div>
  <script src="./vue.js"></script>
  <script>
    const msg2 = '这是js上定义的全局变量';
    const vm = new Vue({
      el: '#app',
      data: {
        msg: '你好vue',
        isFool: false
      }
    })
  </script>
</body>
</html>